(r_alloc_sbrk): Declare already_available as long, not SIZE.
authorRichard M. Stallman <rms@gnu.org>
Wed, 26 May 1993 20:38:52 +0000 (20:38 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 26 May 1993 20:38:52 +0000 (20:38 +0000)
src/ralloc.c

index a8ab0754268740cf8a92e7dd8ca3f7421fe09dfe..b33e329753d426b98907fbc2cd78bb4f79172474 100644 (file)
@@ -351,7 +351,10 @@ r_alloc_sbrk (size)
   /* This is the first address not currently available for the heap.  */
   POINTER top;
   /* Amount of empty space below that.  */
-  SIZE already_available;
+  /* It is not correct to use SIZE here, because that is usually unsigned.
+     ptrdiff_t would be okay, but is not always available.
+     `long' will work in all cases, in practice.  */
+  long already_available;
   POINTER ptr;
 
   if (! use_relocatable_buffers)